home *** CD-ROM | disk | FTP | other *** search
- //
- // $Id$
- //
- // Module : vbxpw.h
- //
- // Author : James Bish
- //
- // Date : 06/15/93
- //
- // $Log$
- //
- // Copyright (c) Bish Programming 1993 - All Rights Reserved.
- //
-
- //
- // CVBXPopupWnd window
- //
-
- #ifndef __VBXPW_H__
- #define __VBXPW_H__
-
- #include "mfcvbx.h"
-
- class CVBPopupWnd : public CWnd
- {
- // Construction
- public:
- CVBPopupWnd();
-
- CVBPopupWnd(CVBCtlWnd *pCtl, USHORT iProperty);
-
- // Attributes
- public:
- virtual void DoPopupDlg();
-
- LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
-
- HCTL GetParentControl() { return pParent->m_hCtl; }
- USHORT GetProperty() { return m_iProperty; }
-
- void SetControlProperty(LONG val) { ::VBSetControlProperty(pParent->m_hCtl, m_iProperty, val ); }
- void GetControlProperty(LPVOID lpdata) { ::VBGetControlProperty(pParent->m_hCtl, m_iProperty, lpdata ); }
-
- // Implementation
- public:
- virtual ~CVBPopupWnd();
-
- // Generated message map functions
- protected:
- CVBCtlWnd *pParent;
- CString m_ClassName;
- USHORT m_iProperty;
- };
-
- #endif // __VBXPW_H__